﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain
{
    /// <summary>
    /// 日志实体
    /// </summary>
    [SugarTable("nlogmodel", TableDescription = "日志表")]
    public class Nlogmodel : BaseEntity
    {
        /// <summary>
        /// 日志内容
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 类别（BOM、Process、Quality等）
        /// </summary>
        public string Category { get; set; }

        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? Operatingtime { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public string Operator { get; set; }
 
        /// <summary>
        /// 外键（关联的业务实体ID）
        /// </summary>
        public long Otherkey { get; set; }
    }
}
